@import "../../css/xyybase";
input,select,textarea{
  margin: 0;
  padding: 0;
}
body{
  box-sizing: border-box;
  background-color: #E4E6E5;;
}
.ZZHT-container{
  width: 1200px;//设计要求
}
#nav-header .normal{
  border-color: @baseColor;
  color: @baseColor;
}
.clearfloat{
  content: '';
  display: table;
  clear: both;
}
.address-container{
  width: 100%;
  margin-top: 30px;
  font-size: 16px;
  padding: 20px 0px;
  padding-bottom: 0;
  width: 100%;
  height: auto;
  background-color: #fff;
    &>p{
      margin-left: 20px;
      margin-right: 20px;
      color: #333;
      padding: 20px 0px;
      border-bottom: 1px solid #e8e8e8;
    }
    &>.address-list{
      width: 100%;
      padding: 20px 20px 20px 10px;

        &>li{
          //&:after{
          //  content: '';
          //  display: block;
          //  clear: both;
          //}
          margin-bottom: 10px;
          //padding: 20px;
          position: relative;
          border: 1px solid @address-list-border-color;
          width: 378px;
          height: 160px;
          float: left;
          margin-left: 10px;
          padding-bottom: 10px;
          &>.address-detail{
            margin: 20px 20px;
            &>.a_name{
              color: #333;
              margin-bottom: 20px;
            }
            &>.a_tel,.a_addr{
              font-size: 14px;
            }
          }
          &>.select-address{
            width: 80px;
            height: 20px;
            display: inline-block;
            position: absolute;
            right: 0;
            top: 0;
            background-color:@baseColor;
            text-align: center;
            line-height: 20px;
            font-size: 14px;
            color: #fff;
          }
          //添加地址样式
          &>.add-address{
            margin: 52px auto;
            &>.add-address-icon{
              line-height: 30px;
              text-align: center;
              width: 36px;
              height: 36px;
              margin: 0 auto;
              font-size: 33px;
              border-radius: 50%;
              color: #fff;
              font-weight: bold;
              background-color: #e0e0e0;

            }
            &>.add-address-word{
              font-size: 12px;
              margin: 0 auto;
              text-align: center;
            }
          }
          & .defaltAddress{

            cursor: pointer;
            float: right;
            margin-right: 10px;
            & p{
              font-size: @inner-font-size;
              color: @baseColor;
              display: inline-block;
              margin-right: 20px;

            }
            & p:last-child{
              margin-right: 0px;
            }
          }

        }
      &>li:hover:not(:last-child){
        border:1px solid @baseColor
      }
      &>li:hover .defaltAddress{
        //display: block;
      }
      //&>li:first-child{
      //  margin-left: 0;
      //}
    }

}
//边框的active
//发票和地址栏的hover
.address-active{
  border-color: @baseColor!important;
}
.order-detail{
  background-color: #fff;
  margin-top: 10px;
  padding: 0 20px;
    &>.order-header{
      font-size: @header-font-size;
      color: #333;
      padding: 20px 0px;
      border-bottom: 1px solid #e8e8e8;
    }
  & .order-list{
    padding: 10px 20px;
    border-bottom: 1px dashed @address-list-border-color;
  }
  &>.order-list .order-list-header{
    color: #333;
      font-size: 14px;
    margin: 14px 0;
  }
  &>.order-list dl dd{
    width: 100%;
    &>p:first-child{
      float: left;
    }
    & input{//备注信息框
      width: 300px;
      height: 22px;
      outline: none;
      border-radius: 3px;
      border: none;
      border:1px solid #999;
      padding-left: 10px;
    }
    &>.order-carriage{
      float: right;
    }
  }
  &>.order-list dl dt{
    margin-bottom: 14px;
    &>div{
      float: left;
    }

    &> div img{
      width: 80px;
      height: 80px;
    }
    &>div:nth-child(2){
         width: 600px;
         font-size: @inner-font-size;
         color: @font-base-color;
         margin-left: 10px;
         line-height: 25px;
      & p{
        color: #999;
      }
       }
    &>div:nth-child(3){
      width: 110px;
      font-size: @inner-font-size;
      color: @font-last-color;
      margin-left: 130px;
      line-height: 60px;
    }
    &>div:last-child{
      width: 150px;
      font-size: @inner-font-size;
      color: @baseColor;
      font-weight: bold;
      margin-left: 10px;
      line-height: 60px;
      text-align: center;

    }
  }
}
//发票信息
.order-bill{
  padding-bottom: 20px;
  width: 100%;
  margin-bottom: 20px;
  &>p{
    width: 100%;
    padding: 30px 0 20px 0px;
    font-size: @header-font-size;
    color: @font-base-color;
    border-bottom: 1px solid #e8e8e8;
  }
  &>.select-bill{
    margin-top: 10px;
    padding: 0px 0 20px 20px ;
    & p{
      text-align: center;
      line-height: 36px;
      width: 120px;
      height: 36px;
      border-radius: 3px;
      border: 1px solid #e8e8e8;
      float: left;
    }
    & p:last-child{
      margin-left: 20px;
    }

  }
  &>.bill-msg{
    margin-left: 20px;
    & input[type="text"]{
      width: 261px;
      height: 30px;
      outline: none;
      border: none;
      border:1px solid  @address-list-border-color;
      border-radius: 6px;
      padding-left: 20px;

    }
    & .bill-msg-header{
      margin-bottom: 10px;


    }
  }
}
//提交信息
.total-order{
  width: 50%;
  float: right;
  & .total-order-detail{
    & p{
      margin-bottom: 10px;
    }
  }
  & .order-btn{
    cursor: pointer;
    display: block;
    text-align: center;
    line-height: 60px;
    width:160px;
    height: 60px;
    background: @baseColor;
    //border: 1px solid transparent;
    font-size: 18px;
    color:#f9f9f9;
    margin-bottom: 40px;
    float: right;

  }
}
.count-product{
  font-size: @inner-font-size;
  color: #999;
  display: inline-block;
  width: 60%;
  text-align: right;
}
.over-product{
color: @baseColor;
  display: inline-block;
  width: 40%;
  text-align: right;
}
.must-total{
margin-top: 10px;
  margin-bottom: 30px;
  & .over-product{
    font-size: 18px;
  }
}
.select-msg{
  text-align: right;
}
.alert-address{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,.5);

  &>.alert-address-detail{
    width: 600px;
    height: 444px;
    background-color: #fff;
    position: fixed;
    left: 50%;
    top: 50%;
    padding-bottom: 40px;
    margin-left: -300px;
    margin-top: -222px;
  }
  & ul .alert-address-header{
    margin-bottom: 40px;
    padding: 20px 0px 20px 0px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: @header-font-size;
    color: @font-base-color;
    border-bottom: 1px solid #e8e8e8;
    .close{
      display: inline-block;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      color: #c3c3c3;
      text-align: center;
     line-height: 20px;
      border: 2px solid #c3c3c3;
      font-size: 20px;
      float: right;
    }
  }

  & ul .alert-address-body{

    margin-bottom: 20px;
    & .input-name{
      text-align: right;
      display: inline-block;
      width: 170px;
      height: 32px;
      font-size: @inner-font-size;
      color: @font-last-color;
      padding-right: 10px;
    }
    & .input-inner{
      //&:extend(.input-name);
      border-radius: 3px;
      width:228px;
      height: 34px;
      outline: none;
      border: 1px solid #a1a1a1;
      //color: #e8e8e8;
      padding-left: 20px;

    }
    & .select-inner{
      border-radius: 3px;
      width:100px;
      height: 34px;
      outline: none;
      border: 1px solid #a1a1a1;
      //color: #e8e8e8;
      padding-left: 0px;
      margin-right: 20px;
      & option{
        color: #a1a1a1;
      }
    }
    ::-webkit-input-placeholder{
      //谷歌
      color: #a1a1a1;
    }
    ::-moz-placeholder{
      color: #a1a1a1;
    }
    ::-ms-input-placeholder{
      color: #a1a1a1;;
    }

  }

}

.request-order-btn{
  width: 200px;
  height: 36px;
  background-color: @baseColor;
  font-size: 16px;
  color: #fefefe;
  font-weight: bold;
  outline: none;
  border: none;
  border-radius: 5px;
  margin: 0 auto;
  text-align: center;
  cursor: pointer;
}
//备用代码地址栏添加地址样式
//.last-address:hover{
//border-color: @baseColor!important;
//}